package org.fin.session;

import org.fin.pojo.Configuration;

public class DefualtSqlSessionFactory implements SqlSessionFactory {

  private Configuration configuration;

  public DefualtSqlSessionFactory(Configuration configuration) {
    this.configuration = configuration;
  }

  @Override
  public SqlSession openSession() {
    return new DefualtSqlSession(configuration);
  }
}
